
<script src="${rc.getContextPath()}/manage/js/dwzCustomJs/dwz.custom.advancedquery.js?v=${ver}" type="text/javascript"></script>
<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" onsubmit="return navTabSearch(this)">
	<input type="hidden" id="advancedStatus" name="advancedStatus" value="${condition.advancedStatus!''}" />
    <div class="pageHeader">
        <div class="searchBar">
            <ul class="searchContent">
                <li><label id="personnelType"><@label key="personnelCode.C,colon">人员编号：</@label></label> <input type="text" name="personnelCode" value="${condition.personnelCode!''}"/></li>
                
                <li><label><@label key="personnelTypeCode.C,colon">人员类型：</@label></label> <input type="text" name="personnelTypeCode" value="${condition.personnelTypeCode!''}"/></li>
                
                <li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label key="query.B">查询</@label></button>
                        </div>
                    </div>
                </li>
                <li class="advancedQuery" >            
                    <a id="advancedQuery"href="javascript:void(0);"   onclick="openAdvanced(navTab.getCurrentPanel())">
                        <@label key="advancedQuery.C">高级查询</@label>
                    </a>
                    <span  onclick="openAdvanced(navTab.getCurrentPanel());"></span>            
                </li>
            </ul>
        </div>
    </div>
        
    <div id="collapsablePanel" style="display:none;" class="pageHeader" >
        <div class="searchBar">
            <ul class="searchContent">
                <li>
                    <label>
                        <@label key='personnelName.C,colon'>姓名：</@label>
                    </label>
                    <input type="text" name="personnelName" value="${condition.personnelName!''}"/>
                </li>
                <li>
                    <label>
                        <@label key='personnelTypeText.C,colon'>人员类型描述：</@label>
                    </label>
                    <input type="text" name="typeText" value="${condition.typeText!''}"/>
                </li>
                <li>
                    <label>
                        <@label key='memo.C,colon'>备注：</@label>
                    </label>
                    <input type="text" name="memo" value="${condition.memo!''}"/>
                </li>
            </ul>
            <ul class="searchContent">
                <li>
                    <label>
                        <@label key='startTimeFrom.C,colon'>开始时间从：</@label>
                    </label>
                
                    <input type="text" class="date" readonly="readonly" size="17" name="startDatetimeFrom" value="${(condition.startDatetimeFrom?string('yyyy-MM-dd HH:mm'))?if_exists}" dateFmt="yyyy-MM-dd HH:mm"/>
                    <a class="inputDateButton" href="javascript:;">选择</a>
                </li>
                <li>
                    <label>
                        <@label key="to.C,colon">至：</@label>
                    </label>
                    
                    <input type="text" class="date" readonly="readonly" size="17" name="startDatetimeTo" value="${(condition.startDatetimeTo?string('yyyy-MM-dd HH:mm'))?if_exists}" dateFmt="yyyy-MM-dd HH:mm"/>
                    <a class="inputDateButton" href="javascript:;">选择</a>
                </li>
            </ul>
            <ul class="searchContent">
                <li>
                    <label>
                        <@label key='endTimeFrom.C,colon'>结束时间从：</@label>
                    </label>
                    
                    <input type="text" class="date" readonly="readonly" size="17" name="endDatetimeFrom" value="${(condition.endDatetimeFrom?string('yyyy-MM-dd HH:mm'))?if_exists}" dateFmt="yyyy-MM-dd HH:mm"/>
                    <a class="inputDateButton" href="javascript:;">选择</a>
                </li>
                <li>    
                    <label>
                        <@label key="to.C,colon">至：</@label>
                    </label>
                    
                    <input type="text" class="date" readonly="readonly" size="17" name="endDatetimeTo"  value="${(condition.endDatetimeTo?string('yyyy-MM-dd HH:mm'))?if_exists}" dateFmt="yyyy-MM-dd HH:mm"/>
                    <a class="inputDateButton" href="javascript:;">选择</a>
                </li>
            </ul>
        </div>
    </div>
</form>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <@buttonRight menuCode="personnelException_add" labelKey="add.B" defalutName="新增">
            <li><a class="add" target="dialog" mask="true" width="800" height="330" href="${rc.getContextPath()}/manage/personnelException/personnelException_add?navTabId=${navTabId!''}" rel="addPersonnelException" title="<@label key="addPersonnelException.C">新增人员异常</@label>"><span><@label key="add.B">新增</@label></span> </a>
            </li> </@buttonRight> <@buttonRight menuCode="personnelException_edit" labelKey="edit.B" defalutName="编辑">
            <li><a class="edit" target="dialog" mask="true" width="800" height="400" href="${rc.getContextPath()}/manage/personnelException/personnelException_edit?id={personnel_Exception}&navTabId=${navTabId!''}" rel="modifyPersonnelException" title="<@label key="editPersonnelException.C">编辑人员异常</@label>"><span><@label key="edit.B">编辑</@label></span> </a>
            </li> </@buttonRight> <@buttonRight menuCode="personnelException_view" labelKey="view.B" defalutName="详情">
            <li><a class="icon" target="dialog" mask="true" width="800" height="400" href="${rc.getContextPath()}/manage/personnelException/personnelException_view?id={personnel_Exception}&navTabId=${navTabId!''}" rel="viewPersnnelException" title="<@label key="viewPersonnelException.C">人员异常详情</@label>"><span><@label key="view.B">详情</@label></span> </a>
            </li> </@buttonRight> <@buttonRight menuCode="personnelException_del" labelKey="delete.B" defalutName="删除">
            <li><a class="delete" target="selectedTodo" postType="string" callback="batchjobAjaxDone" rel="ids" href="${rc.getContextPath()}/manage/personnelException/deletePersonnelException?navTabId=${navTabId!''}" 
            title="<@label key='confirmDelPersonnelException.M'>确认要删除勾选的人员异常吗？</@label>"><span><@label key="delete.B">删除</@label></span> </a>
            </li> </@buttonRight>
        </ul>
    </div>
    <table class="table" width="100%" layoutH="135">
        <thead>
            <tr>
                <th width="22"><input type="checkbox" group="ids" class="checkboxCtrl">
                </th>
                <th width="22"><@label key="serialNumber.C">序号</@label></th>
                <th width="100" orderField="personnelCode"<#if (page.orderField?? && page.orderField == 'personnelCode')>class="${page.orderDirection!''}"</#if>><@label key="personnelCode.C">人员编号</@label></th>
                <th width="100" orderField="personnelName"<#if (page.orderField?? && page.orderField == 'personnelName')>class="${page.orderDirection!''}"</#if>><@label key="personnelName.C">姓名</@label></th>
                <th width="100" orderField="typeText"<#if (page.orderField?? && page.orderField == 'typeText')>class="${page.orderDirection!''}"</#if>><@label key="personnelTypeText.C">人员类型</@label></th>
                <th width="100" orderField="workCenterCode"<#if (page.orderField?? && page.orderField == 'workCenterCode')>class="${page.orderDirection!''}"</#if>><@label key="workCenter.C">工作中心</@label></th>
                <th width="100" orderField="startDateTime"<#if (page.orderField?? && page.orderField == 'startDateTime')>class="${page.orderDirection!''}"</#if>><@label key="startTime.C">开始时间</@label></th>
                <th width="100" orderField="endDateTime"<#if (page.orderField?? && page.orderField == 'endDateTime')>class="${page.orderDirection!''}"</#if>><@label key="endTime.C">结束时间</@label></th>
                <th width="100" orderField="memo"<#if (page.orderField?? && page.orderField == 'memo')>class="${page.orderDirection!''}"</#if>><@label key="memo.C">备注</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as personnelException>
            <tr target="personnel_Exception" rel="${personnelException.id!''}">
                <td>
                    <input name="ids" value="${personnelException.id!''}" type="checkbox">
                </td>
                <td>${page.startRow + personnelException_index}</td>
                <td>${personnelException.personnelCode!''}</td>
                <td>${personnelException.personnelName!''}</td>
                <td>${personnelException.typeText!''}</td>
                <td>${personnelException.workCenterText!''}</td>
                <td>${personnelException.startDateTime?string("yyyy-MM-dd HH:mm:ss")!''}</td>
                <td>${personnelException.endDateTime?string("yyyy-MM-dd HH:mm:ss")!''}</td>
                <td>${personnelException.memo!''}</td>
            </tr>
            </#list> <#else>
            <tr target="personnel_id">
                <td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if> <#else>
            <tr target="personnel_id">
                <td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/panelBar.html">
</div>
<script type="text/javascript">
$(function() {
    initAdvancedQuery(navTab.getCurrentPanel());
});
</script>

